package com.ocom.common.entity.card;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import jdk.nashorn.internal.ir.annotations.Ignore;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@TableName("xf_not_meal_recode")
@Getter
@Setter
public class EntityNotMealRecode implements Serializable {
    private static final long serialVersionUID = -9082465523514331605L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long comId;

    @JsonProperty("pid")
    @TableField("p_id")
    private Long pid;

    private String mealNo;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+08")
    private Date  mealDate;

    private Long deptId;

    private String deptName;

    @JsonProperty("pCode")
    private String pCode;

    @JsonProperty("pName")
    private String pName;

    @JsonIgnore
    private String monthValue;

    @TableField(fill = FieldFill.INSERT)
    @JsonIgnore
    private Date createTime;
}
